<%@page import="com.windfone.common.Constant"%>
<%@ page language="java" contentType="text/html; charset=utf-8"    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>手机中心   风驰电讯   您最贴心的手机顾问 </title>
<link href="css/css.css" rel="stylesheet" type="text/css" />
<%@ include file="headkey.jsp"%>
<%@ include file="head.jsp"%>
</head>

<body id="pages2">
<%@ include file="navigate.jsp"%>
<%--
<!--头部-->
<div class="headBox">
<div class="logo">風馳電訊</div>

<div class="headLink"><a href="#">登陸</a> | <a href="#">註冊</a> | <a
	href="#">購物籃</a></div>

<div class="headCall">销售咨询 及 邮购电话：0755-86175799 售后服务 及
维修咨询：0755-86175799</div>

<div class="mianMuen">
<ul>
	<li class="pages1"><a href="index.html">首頁</a></li>
	<li class="pages2"><a href="index.html">手機中心</a></li>
	<li class="pages3"><a href="index.html">手機配件</a></li>
	<li class="pages4"><a href="index.html">軟體下載</a></li>
	<li class="pages5"><a href="index.html">新聞中心</a></li>
	<li class="pages6"><a href="index.html">售後中心</a></li>
	<li class="pages7"><a href="index.html">積分兌換</a></li>
	<li class="pages8"><a href="index.html">淘寶風馳</a></li>
</ul>
</div>
<div class="clear"></div>

<div class="headSearch"><select name="">
	<option>手机</option>
	<option>配件</option>
</select> <input name="" type="text" class="headSearchInput" /> <input name=""
	type="button" value="搜索" class="headSearchButton" /></div>

<div class="headPrice">
<ul>
	<li><a href="#">最新報價</a></li>
	<li><a href="#">發貨查詢冊</a></li>
	<li><a href="#">分期付款</a></li>
</ul>
</div>
</div>
<div class="clear"></div>
--%>
<!--内容-->

<!--内容-->
<div class="contentBox">
<div class="col1">
  <div class="tabLeBox">
    <div class="title">
      <h3>热门品牌</h3>
    </div>
          <%@include file="hotPai.jsp" %>
  </div>
  
  <div class="tabLeBox">
    <div class="title">
      <h3>热门机型</h3>
    </div>
    <div class="borderBox">
      <div>
      
      <ul class="imageList">
<%
	String typeId=request.getParameter("typeId");
	if ( typeId == null ){
%>
 <windfone:commend attriName="firstMobiles"
		commendType="<%=com.windfone.common.Constant.FIRST_PAGE_HOT_MOBILE%>"></windfone:commend>
	<c:if test="${not empty firstMobiles }">
		<c:forEach var="mobile" items="${firstMobiles}" varStatus="status">

			<li><a href="detailmobile.action?productId=${mobile.id }"
				target="_blank"><img src="<%=contextPath%>/${mobile.imagepath}" /></a>
			<p><a href="detailmobile.action?productId=${mobile.id }"
				target="_blank">${mobile.name }</a></p>
			<p><em style="cursor: pointer;"><c:if
				test="${mobile.price == 0.0 }">即將上市</c:if><c:if
				test="${mobile.price != 0.0 }">￥${mobile.price }</c:if></em></p>
			</li>
		</c:forEach>
	</c:if>
	<%} else {%>
		<c:forEach var="mobile" items="${products}" varStatus="status">	
			<li><a href="detailmobile.action?productId=${mobile.id }"
				target="_blank"><img src="<%=contextPath%>/${mobile.imagepath}" /></a>
			<p><a href="detailmobile.action?productId=${mobile.id }"
				target="_blank">${mobile.name }</a></p>
			<p><em style="cursor: pointer;"><c:if
				test="${mobile.price == 0.0 }">即將上市</c:if><c:if
				test="${mobile.price != 0.0 }">￥${mobile.price }</c:if></em></p>
			</li>
		</c:forEach>
	<%} %>
</ul>
      
      </div>
    </div>
  </div>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
 <%@ include file="bottom.jsp" %>
</body>
</html>
